1·You implemented code to: hook cursor events for all three browser event models, start and cancel both types of timers, and hook their timer events.
实现了以下功能的代码:针对所有三种浏览器事件模型连接鼠标事件,启动和取消两种类型的计时器,并连接它们的计时器事件。
2·Set the button to be of type Cancel and remove any event code.
将按钮设置为cancel类型并删除所有事件代码。
3·Or, when a timeout event occurs, you will cancel any timer that might be running, create the tooltip with an initial opacity of zero, start a ticker, and transition to FadeIn state.
当发生timeout事件时,将取消任何正在运行的计时器,创建一个初始不透明度为0的工具提示,启动一个断续器,并转换到FadeIn状态。
4·And add the following line of code to the onclick event for the Replace document and Cancel buttons.
将以下代码行添加到Replace document和Cancel按钮的onclick事件。
5·The value of the Cancel property is always set to false when the "pre" event fires.
cancel属性值在激发“pre”事件时通常设置为假。
6·By handling the event, you can check some conditions and optionally cancel the event by setting the cancel property to true.
处理事件时,您能够检查一些条件,通过将Cance l属性设置为真选择取消事件。
7·In this sample, the requester can cancel the request within the whole process scope. You can add an event handler to the process scope by following these steps.
在这个样例中,请求者可以在整个流程作用域内取消请求。
8·If your application has a button to cancel a long-running operation but you're doing work in the UI thread, the cancellation event won't be delivered until after the operation has finished!
如果应用程序有一个按钮用于取消某个长时间运行的操作,而您正在使用UI线程执行操作,那么这个取消事件只有到UI线程所做的操作完成后才会被处理!
9·If an event or an error occurs which causes the process to cancel, the already completed activities need to be undone.
如果某个事件或错误发生而导致流程取消,已经完成的活动需要被复原。
10·He had campaigned for the country to host the event, but the death of his great-grandchild on the eve of the tournament's opening forced him to cancel his planned appearance.
他曾加了南非竞选举办世界杯,但是在竞标赛开幕前一晚孙女的死迫使他取消原先计划的露面。